<?php
function updatepw($userid){

	$power=0;
	if($_SESSION['userid']==$userid)
	{
		$power=1;
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
	<title>人员管理系统</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="../views/css/re.css">
	<link rel="stylesheet" type="text/css" href="../views/css/index.css?v=2">
	<script type="text/javascript" src="../views/js/index.js?v=1"></script>
</head>
<body>
<div class="body">
	<!--修改用户密码-->
	<div class"updatepw">
		<div class="topic">修改密码：</div>
		<table>
		<form action="updatepw.php" method="post">
			<tr>
				<td>旧密码</td>
				<td><input type="text" name="oldpw"></td>
			</tr>
			<tr>
				<td>新密码</td>
				<td><input type="text" name="newpw"></td>
			</tr>
			<tr>
				<td>确认新密码</td>
				<td><input type="text" name="qnewpw"></td>
			</tr>
			<input type="hidden" name="userid" value=<?php echo "'".$userid."'";  ?> >
			<tr>
				<td colspan="2"><input class="button" type="submit" value="确定"></td>
			</tr>
			
		</form>
		</table>
		
	</div>
</div>
</body>
</html>
<?php
}

?>

